package com.bbzn.device.client.dao.post;

import com.bbzn.device.client.dataobject.Post;
import java.util.Date;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PostMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Post record);

    int insertOrUpdate(Post record);

    int insertOrUpdateSelective(Post record);

    int insertSelective(Post record);

    Post selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Post record);

    int updateByPrimaryKey(Post record);

    List<Post> findByAll(Post post);

    int updateBatch(List<Post> list);

    int updateBatchSelective(List<Post> list);

    int batchInsert(@Param("list") List<Post> list);
}